// 引入工具类
import request from '@/utils/request.js' 
 
const my = {

	getCollect: data => {//我的收藏
		return request({
			url:'/wx/my/getCollect',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getMessageList: data => {// 消息列表
		return request({
			url: '/wx/my/getMessageList',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	delMessage: data => {// 删除消息
		return request({
			url: '/wx/my/delMessage',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	getMessageDetail: data => {// 获取消息详情
		return request({
			url: '/wx/my/getMessageDetail',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	messageAllRead: data => {// 消息全部已读
		return request({
			url: '/wx/my/messageAllRead',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	getUserInfo: data => {// 消息全部已读
		return request({
			url: '/wx/getWxUser',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	getAllweidu: data => {// 消息全部已读
		return request({
			url: '/wx/chatroom/getAllweidu',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	getAllMessageweidu: data => {// 消息全部已读
		return request({
			url: '/wx/my/getAllMessageweidu',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	
	detectionOrder: data => {// 查看订单
		return request({
			url: '/wx/detectionOrder/list',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	orderStatusCancel: data => {// 查看订单
		return request({
			url: '/wx/detectionOrder/orderStatusCancel',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	detectionOrderDetail: data => {// 查看订单
		return request({
			url: '/wx/detectionOrder/detail',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	
	detectionOrderCarReportList: data => {// 检测报告列表
		return request({
			url: '/wx/detectionOrder/carReportList',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	detectionOrderCarReportList: data => {// 检测报告列表
		return request({
			url: '/wx/detectionOrder/carReportList',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	detectionCarReportGetCarReport: data => {// 检测报告列表详情
		return request({
			url: '/wx/detectionCarReport/getCarReport',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	refund: data => {// 申请退款
		return request({
			url: '/wx/detectionOrder/refund',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	refundReasonDict: data => {// 字典
		return request({
			url: '/wx/detectionOrder/refundReasonDict',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	
	
	
	
	merDetectionOrderGetAllCarReport: data => { // 检测所有检测的车辆
		return request({
			url: '/wx/merDetectionOrder/getAllCarReport',
			method: 'GET',
			data: data,
			isLoading: true,
			isLogin: true
		})
	},
	
	
	
	
	
}

export default my